<%--
  Created by IntelliJ IDEA.
  User: Admin
  Date: 2020/9/6
  Time: 18:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生管理系统首页</title>
</head>
<body>
<% Object name = session.getAttribute("username");
    if (name==null){
%> <a href="/jsp/login.jsp">请登录</a>
    <%} else {%>
    <a href="addStudent.jsp">添加学生</a>
    <a href="listStudent.jsp">查看学生</a>
    <%}%>

</body>
</html>
